using System;

namespace EntityKit.Runtime
{
    [AttributeUsage(AttributeTargets.Method)]
    public class UILongClickBindAttribute : Attribute
    {
        public string Path { get; }
        public float Duration { get; set; }

        public UILongClickBindAttribute(string path, float duration = 1.0f)
        {
            Path = path;
            Duration = duration;
        }
    }
}